package com.competition.reception.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 管理员登录表
 * </p>
 *
 * @author testjava
 * @since 2021-04-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Manage对象", description="管理员登录表")
public class Manage implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    @ApiModelProperty(value = "头像")
    private String avatar;

    @ApiModelProperty(value = "用户名")
    private String manageUsername;

    @ApiModelProperty(value = "管理员邮箱")
    private String manageEmail;

    @ApiModelProperty(value = "管理员基本权限")
    private String security;

    @ApiModelProperty(value = "密码")
    private String managePassword;

    @ApiModelProperty(value = "简介")
    private String introduction;

    @ApiModelProperty(value = "1（true）已删除,0（false）未删除")
    @TableLogic
    private Integer isDeleted;

    @ApiModelProperty(value = "1（true）已添加黑名单,0（false）未添加黑名单")
    private Integer isBlacklist;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date modifiedTime;


}
